<!DOCTYPE html>

<html>

<head>
    <title>test.R</title>
    <script src="./wordcloud2.js", type="text/javascript"></script>
    </head>
    <body>
        <canvas id="my_canvas"></canvas>
        <script type="text/javascript">
            WordCloud(document.getElementById('my_canvas'), { list: [['foo', 12], ['bar', 6], ['quick',18],['fox',100]] } );</script>
    </body>